package com.unknow.first.dapp.admin.service;

import com.unknow.first.dapp.admin.mapper.TAddressInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_address_info(用户关系关联表)】的数据库操作Service
* @createDate 2022-02-26 12:10:12
*/
public interface TAddressInfoService extends IService<TAddressInfo> {
    /**
     * 获取团队树状数据
     * @param parentAddress
     * @param address
     * @return
     */
    List<TAddressInfo> getTeamTree(String parentAddress, String address);

    Boolean bind(String parentAddress, String childAddress) throws Exception;

}
